<template>
  <div class="payHtml" v-html="htmls"></div>
</template>

<script>
export default {
  data() {
    return {
      htmls: ""
    };
  },
  created() {
    if (this.$route.query.htmls) {
      this.htmls = this.$route.query.htmls;
      this.$nextTick(() => {
        document.forms[0].submit()
      })
      // const div = document.createElement("div");
      // div.innerHTML = this.htmls;
      // document.body.appendChild(div);
      // document.forms[0].submit();
      //   this.getData();
    }
  },
  methods: {}
};
</script>
<style lang="scss" scoped>
</style>
